#include <string>

using namespace std;
//using namespace System;
//using namespace System::Collections;
#pragma once
class HistorySMTP
{
	string telnet;
	string helo;
	string from;

	string to;

	string mailtext;

	bool mail;

public:
	HistorySMTP(void):mailtext(""), mail(false){}
	~HistorySMTP(void){}

	void setTelnet(string tel){telnet = tel; mail = true;}
	void setHelo(string hello){helo = hello;}
	void setFrom(string f){from = f;}
	void setTo(string t){to = t;}
	void setText(string text){mailtext = text;}

	string getTelnet(){return telnet;}
	string getHelo(){return helo;}
	string getFrom(){return from;}
	string getTo(){return to;}
	string getText(){return mailtext;}
	bool isMail(){return mail;}
};

